﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000E29 RID: 3625
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RestoreWolfBroGameArchiveScRsp : IMessage<RestoreWolfBroGameArchiveScRsp>, IMessage, IEquatable<RestoreWolfBroGameArchiveScRsp>, IDeepCloneable<RestoreWolfBroGameArchiveScRsp>, IBufferMessage
	{
		// Token: 0x17002E10 RID: 11792
		// (get) Token: 0x0600A2C8 RID: 41672 RVA: 0x001B3643 File Offset: 0x001B1843
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RestoreWolfBroGameArchiveScRsp> Parser
		{
			get
			{
				return RestoreWolfBroGameArchiveScRsp._parser;
			}
		}

		// Token: 0x17002E11 RID: 11793
		// (get) Token: 0x0600A2C9 RID: 41673 RVA: 0x001B364A File Offset: 0x001B184A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RestoreWolfBroGameArchiveScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002E12 RID: 11794
		// (get) Token: 0x0600A2CA RID: 41674 RVA: 0x001B365C File Offset: 0x001B185C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RestoreWolfBroGameArchiveScRsp.Descriptor;
			}
		}

		// Token: 0x0600A2CB RID: 41675 RVA: 0x001B3663 File Offset: 0x001B1863
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RestoreWolfBroGameArchiveScRsp()
		{
		}

		// Token: 0x0600A2CC RID: 41676 RVA: 0x001B366C File Offset: 0x001B186C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RestoreWolfBroGameArchiveScRsp(RestoreWolfBroGameArchiveScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.wolfBroInfo_ = ((other.wolfBroInfo_ != null) ? other.wolfBroInfo_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600A2CD RID: 41677 RVA: 0x001B36B8 File Offset: 0x001B18B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RestoreWolfBroGameArchiveScRsp Clone()
		{
			return new RestoreWolfBroGameArchiveScRsp(this);
		}

		// Token: 0x17002E13 RID: 11795
		// (get) Token: 0x0600A2CE RID: 41678 RVA: 0x001B36C0 File Offset: 0x001B18C0
		// (set) Token: 0x0600A2CF RID: 41679 RVA: 0x001B36C8 File Offset: 0x001B18C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17002E14 RID: 11796
		// (get) Token: 0x0600A2D0 RID: 41680 RVA: 0x001B36D1 File Offset: 0x001B18D1
		// (set) Token: 0x0600A2D1 RID: 41681 RVA: 0x001B36D9 File Offset: 0x001B18D9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public WolfBroInfo WolfBroInfo
		{
			get
			{
				return this.wolfBroInfo_;
			}
			set
			{
				this.wolfBroInfo_ = value;
			}
		}

		// Token: 0x0600A2D2 RID: 41682 RVA: 0x001B36E2 File Offset: 0x001B18E2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RestoreWolfBroGameArchiveScRsp);
		}

		// Token: 0x0600A2D3 RID: 41683 RVA: 0x001B36F0 File Offset: 0x001B18F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RestoreWolfBroGameArchiveScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this.WolfBroInfo, other.WolfBroInfo) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600A2D4 RID: 41684 RVA: 0x001B3740 File Offset: 0x001B1940
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.wolfBroInfo_ != null)
			{
				num ^= this.WolfBroInfo.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600A2D5 RID: 41685 RVA: 0x001B3795 File Offset: 0x001B1995
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600A2D6 RID: 41686 RVA: 0x001B379D File Offset: 0x001B199D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600A2D7 RID: 41687 RVA: 0x001B37A8 File Offset: 0x001B19A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.wolfBroInfo_ != null)
			{
				output.WriteRawTag(42);
				output.WriteMessage(this.WolfBroInfo);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600A2D8 RID: 41688 RVA: 0x001B3804 File Offset: 0x001B1A04
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.wolfBroInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.WolfBroInfo);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600A2D9 RID: 41689 RVA: 0x001B385C File Offset: 0x001B1A5C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RestoreWolfBroGameArchiveScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.wolfBroInfo_ != null)
			{
				if (this.wolfBroInfo_ == null)
				{
					this.WolfBroInfo = new WolfBroInfo();
				}
				this.WolfBroInfo.MergeFrom(other.WolfBroInfo);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600A2DA RID: 41690 RVA: 0x001B38C4 File Offset: 0x001B1AC4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600A2DB RID: 41691 RVA: 0x001B38D0 File Offset: 0x001B1AD0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 42U)
				{
					if (num != 48U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					if (this.wolfBroInfo_ == null)
					{
						this.WolfBroInfo = new WolfBroInfo();
					}
					input.ReadMessage(this.WolfBroInfo);
				}
			}
		}

		// Token: 0x04003ED6 RID: 16086
		private static readonly MessageParser<RestoreWolfBroGameArchiveScRsp> _parser = new MessageParser<RestoreWolfBroGameArchiveScRsp>(() => new RestoreWolfBroGameArchiveScRsp());

		// Token: 0x04003ED7 RID: 16087
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003ED8 RID: 16088
		public const int RetcodeFieldNumber = 6;

		// Token: 0x04003ED9 RID: 16089
		private uint retcode_;

		// Token: 0x04003EDA RID: 16090
		public const int WolfBroInfoFieldNumber = 5;

		// Token: 0x04003EDB RID: 16091
		private WolfBroInfo wolfBroInfo_;
	}
}
